Bug 558522 – scroll arrow painted insensitive even though there are
authorMatthias Clasen <mclasen@redhat.com>
Fri, 31 Oct 2008 03:46:00 +0000 (03:46 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 31 Oct 2008 03:46:00 +0000 (03:46 +0000)
2008-10-30  Matthias Clasen  <mclasen@redhat.com>

        Bug 558522 – scroll arrow painted insensitive even though there
        are pages beyond the edge

        gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw
        arrows. Pointed out by Christian Persch

svn path=/trunk/; revision=21738

ChangeLog
gtk/gtknotebook.c

index 99aafc54ff0bcbd58a9d059f39be181651972d82..daa8335fc80242b4be9ee78f519be5d8b876e2ed 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-10-30  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 558522 – scroll arrow painted insensitive even though there
+       are pages beyond the edge
+
+       * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw
+       arrows. Pointed out by Christian Persch
+
 2008-10-30  Michael Natterer  <mitch@imendio.com>
 
        * gtk/gtkcellrenderertext.h
@@ -71,7 +79,7 @@
        (gdk_pointer_grab_info_libgtk_only): Return TRUE when there is a
        pointer grab. Patch by Owen Taylor.
 
-2008-10-2r76  Matthias Clasen  <mclasen@redhat.com>
+2008-10-26  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtktoolshell.c:
        * gtk/gtktoolitem.c: Remove markup from short descriptions.
index 1f3ad2494c18cfdad2f07b0d13b3b66b16da4d3c..b81c01cdb3d5c4118eb3fddf76f2b00ab885825c 100644 (file)
@@ -4128,6 +4128,9 @@ gtk_notebook_real_insert_page (GtkNotebook *notebook,
 
   gtk_notebook_update_tab_states (notebook);
 
+  if (notebook->scrollable)
+    gtk_notebook_redraw_arrows (notebook);
+
   gtk_widget_child_notify (child, "tab-expand");
   gtk_widget_child_notify (child, "tab-fill");
   gtk_widget_child_notify (child, "tab-pack");